//    Copyright (C) Kherty.  All rights reserved.
using System;
using System.Collections.Generic;
using System.Text;

namespace OpenLS.Spreadsheet
{
    class InvalidSheetManager
    {
        List<bool> valids = new List<bool>();
        public void Add (bool b)
        {
            valids.Add(b);
        }
        public int GetValidIndex (int i)
        {
            int result = 0;
            for (int j = 0; j < i; j++)
                if (valids[j])
                    result++;
            return result;
        }
    }
}
